package com.ruoyi.app.mapper;

import com.ruoyi.app.domain.ArticleThumbs;
import com.ruoyi.app.domain.ArticleThumbsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticleThumbsMapper {
    int countByExample(ArticleThumbsExample example);

    int deleteByExample(ArticleThumbsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ArticleThumbs record);

    int insertSelective(ArticleThumbs record);

    List<ArticleThumbs> selectByExample(ArticleThumbsExample example);

    ArticleThumbs selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ArticleThumbs record, @Param("example") ArticleThumbsExample example);

    int updateByExample(@Param("record") ArticleThumbs record, @Param("example") ArticleThumbsExample example);

    int updateByPrimaryKeySelective(ArticleThumbs record);

    int updateByPrimaryKey(ArticleThumbs record);

    List<ArticleThumbs> selectList(Long articleId);
}